﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-16
Description:Sms_ChannelCounter三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class Sms_ChannelCounterManager
	{
		public static int AddSms_ChannelCounter(Sms_ChannelCounter sms_ChannelCounter)
		{
			return Sms_ChannelCounterService.AddSms_ChannelCounter(sms_ChannelCounter);
		}
		public static int DeleteSms_ChannelCounterByid(long id)
		{
			return Sms_ChannelCounterService.DeleteSms_ChannelCounterById(id);
		}
		
		public static int ModifySms_ChannelCounterByid(Sms_ChannelCounter sms_ChannelCounter)
		{
			return Sms_ChannelCounterService.ModifySms_ChannelCounterByid(sms_ChannelCounter);
		}
		
		
		public static IList<Sms_ChannelCounter> GetAllSms_ChannelCounters()
		{
			return Sms_ChannelCounterService.GetAllSms_ChannelCounters();
		}
		public static Sms_ChannelCounter GetSms_ChannelCounterByid(long id)
		{
			return Sms_ChannelCounterService.GetSms_ChannelCounterByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<Sms_ChannelCounter> ShowSms_ChannelCounterForPage(int curragePage,int NUMCount)
		{
			return 	Sms_ChannelCounterService.ShowSms_ChannelCounterForPage(curragePage,NUMCount);
		}
	}
}
